package com.schoolMall.enums;

/**
 * @author:zyh
 * @Time:2021-09-01-10:04
 * @email:1269231889@qq.com
 */
public enum ProductImgStateEnum {
    FAIL(-1,"失败"),
    SUCCESS(1,"成功"),
    INNER_ERROR(-1000,"内部错误"),
    NULL_IMG(-1001,"图片为空"),
    NULL_PRODUCT(-1002,"商品为空");
    int val;
    String msg;

    ProductImgStateEnum(int val, String msg) {
        this.val = val;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public int getVal() {
        return val;
    }
}
